import { request } from "@/utils/request";

// 个人详情
export const getUserInfoByIdApi = id => {
    return request({
        url: `/ht-user/basic/getUserInfoById?userId=${id}`,
        method: 'GET'
    })
}
// 个人雷达图
export const getUserHonorScoreApi = id => {
    return request({
        url: `/ht-nonrealtime-gameservice/honorScore/getUserHonorScore?userId=${id}`,
        method: 'GET'
    })
}
// 个人信息修改（岗位、学历、职称）
export const updateUserInfoApi = data => {
    return request({
        url: `/ht-user/user/updateUserInfo`,
        method: 'POST',
        data: data
    })
}
// 用户荣誉审核日志
export const getHonorCheckLogsApi = data => {
    return request({
        url: `/ht-user/honorCheck/getHonorCheckLogs`,
        method: 'POST',
        data: data
    })
}